/**
 * The Prophecy
 * java based lightweight texas hold'em poker software base
 * http://code.google.com/p/theprophecy/
 */

package org.poker.prophecy.simulation.demo;

import org.poker.prophecy.player.primitiv.CheckerPlayer;
import org.poker.prophecy.player.primitiv.FiftyFiftyRaiserPlayer;
import org.poker.prophecy.player.primitiv.FirstDornPlayer;
import org.poker.prophecy.simulation.Dealer;
import org.poker.prophecy.simulation.Table;

/**
 * @author bg
 */

public class SimulationDemo {

	public static void main (String args[]){
	 	Table table = new Table("SimulationsDemosTable");
	 
	 	table.addPlayer(new CheckerPlayer("Berni", 1000, table)); 
	 	table.addPlayer(new CheckerPlayer("Tusek", 1000, table));
	 	table.addPlayer(new CheckerPlayer("Flavio", 1000, table));
	 	table.addPlayer(new CheckerPlayer("Alex", 1000, table));
	 	table.addPlayer(new CheckerPlayer("Meschi", 1000, table));
	 	table.addPlayer(new FiftyFiftyRaiserPlayer("DerRaiser", 1000, table));
	 	
	 	table.tickTableInfo();
	 	
	 	Dealer dealer = new Dealer(table);
	 	
	 	dealer.initGame();
	 	
	 	dealer.deal();
	 	table.passDealerButton();
	 	dealer.deal();
	 	table.passDealerButton();
	 	dealer.deal();
	 	table.passDealerButton();
	 	dealer.deal();
	 	table.passDealerButton();
	 	dealer.deal();
	 	
	 	table.getTableTicker().tick("");
	 	table.getTableTicker().tick("GAME OVER");
	 	table.getTableTicker().tick("Endstats:");
	 	table.tickTableInfo();
	}
	
	
	
}
